package com.mdd.front.service;


import com.mdd.front.validate.AiQuestionRecordCreateValidate;
import com.mdd.front.validate.AiQuestionRecordUpdateValidate;
import com.mdd.front.validate.AiQuestionRecordSearchValidate;
import com.mdd.front.validate.common.PageValidate;
import com.mdd.front.vo.AiQuestionRecordListedVo;
import com.mdd.front.vo.AiQuestionRecordDetailVo;
import com.mdd.common.core.PageResult;

/**
 * ai聊天记录服务接口类
 * @author XueYong
 */
public interface IAiQuestionRecordService {

    /**
     * ai聊天记录列表
     *
     * @author XueYong
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<AiQuestionRecordListedVo>
     */
    PageResult<AiQuestionRecordListedVo> list(PageValidate pageValidate, AiQuestionRecordSearchValidate searchValidate);

    /**
     * ai聊天记录详情
     *
     * @author XueYong
     * @param id 主键ID
     * @return AiQuestionRecordDetailVo
     */
    AiQuestionRecordDetailVo detail(Integer id);

    /**
     * ai聊天记录新增
     *
     * @author XueYong
     * @param createValidate 参数
     */
    void add(AiQuestionRecordCreateValidate createValidate);

    /**
     * ai聊天记录编辑
     *
     * @author XueYong
     * @param updateValidate 参数
     */
    void edit(AiQuestionRecordUpdateValidate updateValidate);

    /**
     * ai聊天记录删除
     *
     * @author XueYong
     * @param id 主键ID
     */
    void del(Integer id);

}
